/*
 * physical_layer_commons.h
 *
 *  Created on: Oct 10, 2012
 *      Author: m
 */

#ifndef PHYSICAL_LAYER_COMMONS_H_
#define PHYSICAL_LAYER_COMMONS_H_

#include <memory>
#include <exception>
#include <iostream>

namespace physical
{

typedef unsigned long blockNumber;
typedef char byte;

typedef byte byteStream[];
typedef std::unique_ptr<physical::byteStream> UP_byteStream;
//typedef std::shared_ptr<byteStream> SP_byteStream;    // Shared Pointers to dynamic arrays Not supported in C+11

typedef std::ios_base::openmode openmode;

class PhysicalException : public std::exception
{
};

}

#endif /* PHYSICAL_LAYER_COMMONS_H_ */
